package org.jeecg.modules.schoolyear.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.common.baseentity.BaseTenant;
import org.jeecg.modules.common.baseentity.PublicBeanPage;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: cou_school_year
 * @author: baochangrong
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Data
@TableName("cou_school_year")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cou_school_year对象", description="cou_school_year")
public class CouSchoolYear extends PublicBeanPage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**学年名称*/
	@Excel(name = "学年名称", width = 15)
    @ApiModelProperty(value = "学年名称")
    private String schoolYearName;
	/**学年别名*/
	@Excel(name = "学年别名", width = 15)
    @ApiModelProperty(value = "学年别名")
    private String schoolYearNickname;
	/**学年编码*/
	@Excel(name = "学年编码", width = 15)
    @ApiModelProperty(value = "学年编码")
    private String schoolYearCode;
	/**学校编码（租户ID）*/
	@Excel(name = "学校编码（租户ID）", width = 15)
    @ApiModelProperty(value = "学校编码（租户ID）")
    private String tenantId;
	/**学校编码（租户ID）*/
	@Excel(name = "是否默认", width = 15)
    @ApiModelProperty(value = "是否默认")
    private String isDefault;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
